<template>
    <ul class="list-item-box">
        <li class="list-item" v-for="( obj ,  index) in nodelist" >
            <a class="list-item-a"  v-on:click="showblog(obj.id)">{{obj.title}}</a>
        </li>
    </ul>
</template>

<script>
export default {
  data () {
    return {
     
    }
  },

  computed: {
    nodelist () {
      return this.$store.getters.getNodeList
    }
  },
  methods: {
     showblog(id){
         
        this.$router.push({ path: "/node/"+id})
     }
   }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>